package IC.AST.nodes;

import IC.AST.*;

/**
 * 
 */
public class MethodCallStmt extends Statement {
	private FunctionCall call;	// the function call object

	/**
	 * @param call the function call object
	 * @param line the node line number
	 * @param column the node column number
	 */
	public MethodCallStmt(FunctionCall call, int line, int column) {
		super(line,column);
		this.call = call;
	}

	/**
	 * @return the function call object
	 */
	public FunctionCall getCall() {
		return this.call;
	}

	public Object accept(Visitor v) {
		return v.visit(this);
	}
}
